package com.sisy.service;

import com.sisy.poji.AccountDO;
import com.sisy.poji.OrderCreateDTO;
import com.sisy.poji.StorageDO;

/**
 * @author EJ
 * @date 2021-06-13 15:31
 */
public interface OrderService {
    AccountDO getAccountByUserId(String userId);

    AccountDO getAccountByUserIdUpdate(String userId);

    StorageDO getStorageByCommodityCode(String commodityCode);

    StorageDO getStorageByCommodityCodeUpdate(String commodityCode);

    void createOrder(OrderCreateDTO orderCreateDTO);
}
